package cn.xuqiudong.backend.base.request;

import org.springframework.web.bind.annotation.RequestParam;

/**
 * 描述:
 *      检测是否可用：一般判断是否重复
 * @author Vic.xu
 * @since 2025-03-22 14:23
 */
public class CheckNotRepeatRequest {

    /**
     * d may  null 如果不传 则判断表里的全部项,如果传了id,则排除当前id所对应的列
     */
    private Integer id;
    /**
     * column  table  column  列名称
     */
    private String column;
    /**
     * value 需要判断是否重复的列的值
     */
    private String value;

    public Integer getId() {

        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
